// /app/model/user.js
module.exports = app => {
    const mongoose = app.mongoose;
    const Schema = mongoose.Schema;
   
    const UserSchema = new Schema({
      pic: { type: String  },
      title: { type: String  },
      raiting: { type: String  },
      slogo: { type: String  },
      evaluate: { type: String  },
      labels: { type: Array  },
      collected: { type: Boolean  }
    });
   
    return mongoose.model('Top250', UserSchema,"top250");
}